﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MoneyWentWhere.WinFormsUI.UI.DataGrid
{
    public interface IAutoCompletePopupHost<T>
    {
        /// <summary>
        /// Text involved in auto-complete (e.g. method name token)
        /// </summary>
        T AutoCompleteToken { get; set; }

        event EventHandler AutoCompleteTokenChanged;

        /// <summary>
        /// Return focus to the host from the popup
        /// </summary>
        void ReturnFocus();
    }
}
